import {get,getById} from "../http/http";
export function getData() {
    return get('/lamp')
}
export const getDataById = (params)=> {
    return get('/findById',params)
}
export const getDataById2 = (params)=> {
    return getById('/findByIdR',params)
}
export const postUpdate = (params)=> {
    return get('/update',params)
}
export const login = (params)=> {
    return get('/login',params)
}
export const save = (params)=> {
    return get('/saveLamp',params)
}
